package com
{
	import com.views.InitLoadingView;
	import com.views.LoadView;
	import com.views.LoginView;
	
	import flash.display.DisplayObject;
	import flash.display.Stage;

	public class View extends ViewBase
	{
		public function View( stage :Stage )
		{
			super( stage );
		}
		
		public function show() :void {
			load.show();
		}
		
		public function hideLoadingText() : void
		{
			var indexObj :DisplayObject = stage.getChildAt(1);
			indexObj.visible = false;
		}
		
		public function get load() : LoadView {
			return createObject(LoadView) as LoadView;
		}
		
		public function get login() : LoginView
		{
			return createObject(LoginView) as LoginView;
		}
		
		public function get initLoading() : InitLoadingView
		{
			return createObject(InitLoadingView) as InitLoadingView;
		}
		
		public function showViewProcess(param1:String, param2:int = 0) : void
		{
			return;
		}
	}
}